package org.wujiangbo.service;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassName: TokenService
 * @description: token服务接口
 * @Version 1.1.0.1
 */
public interface TokenService {

    //创建token
    String createToken();

    //检验token
    boolean checkToken(HttpServletRequest request) throws Exception;
}
